<?php

namespace catchAdmin\phone\controller;

use catcher\CatchResponse;

class SiXin extends LoginCatchController
{


    public function __construct()
    {
        parent::__construct();

        $this->model = (new \catchAdmin\phone\model\SiXin());
    }


    public function save()
    {
        $param = request()->param();

        return CatchResponse::success($this->model->saveData($param));
    }


    ################################## 显示 ########################

    public function index()
    {
        $param = request()->param();

        return CatchResponse::success($this->model->index($param));
    }


    public function read()
    {
        $param = request()->param();

        return CatchResponse::success($this->model->readData($param));
    }

}
